<%@ page import="com.lgy.pojo.Employee" %>
<%@ page import="org.springframework.ui.Model" %><%--
  Created by IntelliJ IDEA.
  User: Altman
  Date: 2018-05-03
  Time: 09:11
  用户左上角，图片和姓名
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--<% request.setAttribute("emp",emp);%>--%>
<div class="profile clearfix">
    <div class="profile_pic">
        <img src="${pageContext.request.contextPath}/images/img.jpg" alt="..." class="img-circle profile_img">
    </div>
    <div class="profile_info">
        <span>欢迎您,</span>
        <h2>${sessionScope.emp.empname}！</h2>
    </div>
    <div>&nbsp;&nbsp;&nbsp;&nbsp;${sessionScope.emp.company.companyname}</div>

    <br />

    <!-- sidebar menu -->
    <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
        <div class="menu_section">
            <ul class="nav side-menu">
                <li><a><i class="fa fa-home"></i> 主页消息 <span
                        class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu" style="display: block;">
                        <li class="current-page"><a
                                href="${pageContext.request.contextPath}/jsp/AdminMain.jsp">
                            欢迎页</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-user"></i> 客户管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/customer/getAdminAllCustomer.do">
                            客户资料</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-desktop"></i> 销售管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/sale/getSaleList.do">
                            车辆销售</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-th-list"></i> 库存管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/repertory/getAllRepertory.do">
                            车辆库存</a></li>
                        <li><a href="${pageContext.request.contextPath}/repertory/brand/main.do">
                            品牌管理</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-cny"></i> 财务管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/financing/getFinancingByCompanyId">
                            收款</a></li>
                        <li><a href="${pageContext.request.contextPath}/order/getOrderList.do">
                            付款</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-bar-chart-o"></i>报表管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/jsp/AdminFinanceCondition.jsp">
                            员工销量</a></li>
                        <li ><a href="${pageContext.request.contextPath}/jsp/AdminFinanceCondition.jsp">
                            财务状况</a></li>
                    </ul>
                </li>
                <li><a><i class="fa fa-cog"></i> 系统管理
                    <span class="fa fa-chevron-down"></span></a>
                    <ul class="nav child_menu">
                        <li><a href="${pageContext.request.contextPath}/system/getAdminAllEmp.do">
                            员工管理</a></li>
                        <li><a href="${pageContext.request.contextPath}/system/getAllLog.do">
                            日志信息</a></li>
                    </ul>
                </li>
            </ul>
        </div>

    </div>
    <!-- /sidebar menu -->
</div>
